import hkust.lingx.csit5110.android.lib.client.FeedBackClient;
import hkust.lingx.csit5110.android.lib.model.AnchorMessage;


public class ClientCall {

  /**
   * @param args
   * @throws Exception 
   */
  public static void main(String[] args) throws Exception {
    FeedBackClient c=new FeedBackClient( );
    c.setUpConn("localhost", "5000");
    AnchorMessage m=new AnchorMessage();
    m.setMsgFrom("hiAnchor");
    m.setMsgTo("server");
    m.setMsgContent("hello anchor");
    c.sendAnchorMessage(m);
    c.tearDownConn();
  }

}
